﻿#ifndef ANALYZINGCONFIG_H
#define ANALYZINGCONFIG_H

#include <QWidget>
#include <queryfx.h>
#include "ui_queryfx.h"
#include "hhpd.h"
#include <QFileDialog>
#include <QDebug>
#include <xlsxdocument.h>
#include <dbHelper.h>
#include <intListener.h>
#include <CommonHelper.h>
#include <QCheckBox>
#include <editpassword.h>
#include <QDesktopWidget>
#include <QTableWidget>
#include "dialogFileManager.h"
#include "smbManager.h"
#include <QStyleFactory>

namespace Ui {
class AnalyzingConfig;
}

class AnalyzingConfig : public QWidget
{
    Q_OBJECT


public:
    explicit AnalyzingConfig(QWidget *parent = nullptr);
    ~AnalyzingConfig();


signals:
    void changeSetUpTotalWindow();

private:
    void showEvent(QShowEvent *event) override;

private slots:

    void on_SaveBtn_3_clicked();
    void on_SaveBtn_2_clicked();
    void on_pushButton_clicked();
    void refl();

    void on_returnBtn_clicked();

    void on_pushButton_9_clicked();

    void on_SaveBtn_clicked();

    void on_pushButton_2_clicked();

    void on_sykg_bt_clicked();

private:
    Ui::AnalyzingConfig *ui;
    queryfx *queryfxui;
    hhpd *hhpdui;
    CommonHelper* common;
    QList<QString> checkedInfo;
    QCheckBox *getCheckBox(QTableWidget *table, int row, int column);
    QCheckBox *setCheckBox(QTableWidget *table, int row, int column, bool checkd);
    QList<QCheckBox *> allCheckBoxsval;
    QString defaultInfo;
};

#endif // ANALYZINGCONFIG_H
